package com.hl;

import java.util.Date;

public class Main {
    public static void main(String[] args) {

        long timestampInSeconds = System.currentTimeMillis() / 1000;
        System.out.println(timestampInSeconds);

        Date time=new Date();
        System.out.println(time);
    }
}
